package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 计费规则对象 pricing_rule
 * 
 * @author ruoyi
 * @date 2025-06-30
 */
public class PricingRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 计费规则主键ID */
    private Integer prId;

    /** 充电站ID */
    @Excel(name = "充电站ID")
    private Integer prStationId;

    /** 充电枪ID */
    @Excel(name = "充电枪ID")
    private Integer prGunId;

    /** 计费模式 */
    private String prType;

    /** 单价（元/度） */
    private Double prPrice;

    /** 修改时间 */
    private Date prUpdateTime;

    /** 修改人的会员id */
    private Integer prUpdaterId;

    public void setPrId(Integer prId) 
    {
        this.prId = prId;
    }

    public Integer getPrId() 
    {
        return prId;
    }

    public void setPrStationId(Integer prStationId) 
    {
        this.prStationId = prStationId;
    }

    public Integer getPrStationId() 
    {
        return prStationId;
    }

    public void setPrGunId(Integer prGunId) 
    {
        this.prGunId = prGunId;
    }

    public Integer getPrGunId() 
    {
        return prGunId;
    }

    public void setPrType(String prType) 
    {
        this.prType = prType;
    }

    public String getPrType() 
    {
        return prType;
    }

    public void setPrPrice(Double prPrice) 
    {
        this.prPrice = prPrice;
    }

    public Double getPrPrice() 
    {
        return prPrice;
    }

    public void setPrUpdateTime(Date prUpdateTime) 
    {
        this.prUpdateTime = prUpdateTime;
    }

    public Date getPrUpdateTime() 
    {
        return prUpdateTime;
    }

    public void setPrUpdaterId(Integer prUpdaterId) 
    {
        this.prUpdaterId = prUpdaterId;
    }

    public Integer getPrUpdaterId() 
    {
        return prUpdaterId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("prId", getPrId())
            .append("prStationId", getPrStationId())
            .append("prGunId", getPrGunId())
            .append("prType", getPrType())
            .append("prPrice", getPrPrice())
            .append("prUpdateTime", getPrUpdateTime())
            .append("prUpdaterId", getPrUpdaterId())
            .toString();
    }
}
